package com.shuke.medical.insure.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author woo hua
 * @date 2023-03-31 16:12
 */
@Data
@NoArgsConstructor
@ApiModel(value="慢特病备案查询接口")
public class GetChronicDiseaseRecordVO implements Serializable {

    @JsonProperty("opsp_dise_code")
    @ApiModelProperty(value = "门慢门特病种目录代码")
    private String opspDiseCode;

    @JsonProperty("opsp_dise_name")
    @ApiModelProperty(value = "门慢门特病种名称")
    private String opspDiseName;

    @JSONField(name = "begndate")
    @ApiModelProperty(value = "开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate beginDate;

    @JsonProperty("enddate")
    @ApiModelProperty(value = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate endDate;

}
